{extend name="iframe" /}

{block name="body"}
<div class="layui-fluid">
	<div class="layui-row layui-col-space15">
		<div class="layui-form" lay-filter="layuiadmin-app-form-list" id="layuiadmin-app-form-list">
			<form action="{:request()->url()}" method="post" class="xn_ajax" data-type="open">
				<div class="layui-form-item">
					<label class="layui-form-label">快递名称</label>
					<div class="layui-input-block">
						<input type="text" name="name" lay-verify="required" placeholder="请输入快递名称" autocomplete="off"
							class="layui-input" value="{$data.name}">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">排序</label>
					<div class="layui-input-inline">
						<input type="number" name="weigh" lay-verify="" placeholder="请输入排序" autocomplete="off"
							class="layui-input" value="{$data.weigh}">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">图标</label>
					<div class="layui-input-block">
						{:xn_upload_one($data.image,'image')}
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">状态</label>
					<div class="layui-input-block">
						<input type="radio" name="status" value="1" title="启用" {if condition="$data['status'] eq '启用'"
							}checked{/if}>
						<input type="radio" name="status" value="2" title="禁用" {if condition="$data['status'] eq '禁用'"
							}checked{/if}>
					</div>
				</div>
				<div class="layui-form-item">
					<div class="layui-input-block">
						<button type="submit" lay-submit class="layui-btn">保存</button>
						<button type="reset" class="layui-btn layui-btn-primary">重置</button>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>
{/block}

{block name="js"}
<!--编辑器-->
<script src="/static/admin/ueditor/ueditor.config.js"></script>
<script src="/static/admin/ueditor/ueditor.all.min.js"></script>
<script src="/static/admin/ueditor/lang/zh-cn/zh-cn.js"></script>
<script>

</script>
{/block}